package com.punch.common.utils;


import java.time.LocalDate;
import java.time.format.DateTimeFormatter;

/**
 * 时间格式转换
 *
 * @author Liang
 */
public class ScheduleUtil {

    public static String getScheduleTime(LocalDate date) {
        DateTimeFormatter fmt = DateTimeFormatter.ofPattern("yyyy-MM-dd");
        String dateStr = date.format(fmt);
        return dateStr;
    }
}
